//14.1 - globals.h - Mark Lee - Prima Publishing #ifndef GLOBALS_H #define GLOBALS_H //makes sure this file is included only once //#include //#include "ddraw.h" //#include "ddutil.h" //#include "ddutil.cpp" //convenient constants #define OpeningScreen "OpeningScreen.bmp" #define CityScreen "city.bmp" #define OpeningTimer 1 #define MainTimer 2 //the global variables //stores which direction the ship should move BOOL moveUp, moveDown, moveLeft, moveRight,fire; int currentMapX; //current map on a 3x3 grid (0,1,or2) int currentMapY; //same HBITMAP entireMap[3][3];//All of the maps (all 9) //do the event loop from WinMain int DoEventLoop(); //create the window void InitApp(HINSTANCE hInst,int nCmdShow); //process messages LRESULT CALLBACK WndProc( HWND hWnd, UINT messg, WPARAM wParam, LPARAM lParam ); //#include "drawing.h" //#include "Movement.h" //#include "Ship.h" //#include "Ship.cpp" //#include "Towns.h" #endif